package com.bdqn.struts.action;


import com.opensymphony.xwork2.Action;

public class HelloAction implements Action {
    private  String userName;//用户名
    private  String message;//输出信息
    @Override
    public String execute() throws Exception {
        this.setMessage("hello"+this.getUserName());
        return "success";
    }

    public String getUserName() {
        return userName;
    }
    public void setUserName(String userName) {
        this.userName = userName;
    }
    public String getMessage() {
        return message;
    }
    public void setMessage(String message) {
        this.message = message;
    }
}
